<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="css/denglu.css">
    <link rel="stylesheet" href="css/dibu.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="font/iconfont.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2977887_dhzx2yy589.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2977887_pi6wkhyjs2.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2977887_d4wfn85ed59.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2980973_r30d0m6kb9.css">
    <link rel="stylesheet" href="//at.alicdn.com/t/font_2977887_4hd4myhs0ck.css">
    <link rel="stylesheet" href="css/swiper.min.css">
    <script src="js/swiper.min.js"></script>
    <script src="js/axios.min.js"></script>
</head>

<body>
    <!-- 头部 -->
    <div class="dingbu">
        <div class="ding">
            <div class="iconfont icon-shouye"></div>
            <div class="shouye">E宠首页</div>
            <div class="songzhi">送至:</div>
            <div class="dizhi">
                <div class="di1">郑州</div>
                <div class="di2"> <img src="img/jiantou.png" alt=""></div>
            </div>
            <span id="jiuzhu" class="iconfont icon-minzhengtubiao1-08"></span>
            <span class="pinzhi">E宠就是正品</span>


            <div class="wenti">问题反馈</div>
            <div class="pion">
                <span id="pion1" class="iconfont icon-shouji"></span>
                <span class="pion2">手机版</span>
                <div class="erweima"><img src="img/code.png" alt=""></div>
            </div>
            <div class="shoucang">
                <div class="cang3"></div>
                <div class="cang2">收藏</div>
                <div id="cang1" class="iconfont icon-shoucang"></div>
                <!-- <ul>
                    <li>我的收藏</li>
                </ul> -->
            </div>
            <div id="shoucang2" class="shoucang">
                <div class="cang3"></div>
                <div class="cang2">我的E宠</div>
                <div id="cang1" class="iconfont icon-wode-active"></div>
            </div>
            <div class="car">
                <a href="gouwucar.html">
                    <div class="car2">购物车</div>
                </a>
                <div id="car1" class="iconfont icon-gouwuchefill"></div>
            </div>
            <div id="zzcc" class="zhuce">[注册]</div>
            <div id="dl" class="denglu">[登录]</div>
        </div>
    </div>
    <!-- 搜索 -->
    <div class="daohangkuai">
        <div class="logo">
            <img src="img/epet-logo.png" alt="">
        </div>
        <div class="sousuo">
            <input id="shuru" type="text" value=" ">
            <input id="sou" type="button" value="搜索">

            <div class="re">
                <span class="re1">热门搜索:&nbsp;&nbsp;&nbsp;<span>周期配送</span></span>
                <span class="re2">zeal鲜牛乳低至5折</span>
                <span class="re2">精选冻干双拼粮</span>
            </div>
        </div>
        <a href="gouwucar.html">
            <div class="gouwu">购物车</div>
        </a>
        <div class="caidan">
            <div class="cai1"><img src="img/gutou.png" alt="">&nbsp;&nbsp;品牌特卖</div>
            <div class="cai1"><img src="img/gutou.png" alt="">&nbsp;&nbsp;潮品视频</div>
            <div class="cai1"><img src="img/gutou.png" alt="">&nbsp;&nbsp;小剧场</div>
            <div class="cai1"><img src="img/gutou.png" alt="">&nbsp;&nbsp;E宠课堂</div>
            <div class="cai1"><img src="img/gutou.png" alt="">&nbsp;&nbsp;萌爪联盟</div>
            <div class="cai1"><img src="img/gutou.png" alt="">&nbsp;&nbsp;清仓特价</div>
        </div>
    </div>
    <div class="lunbo">
        <div class="lunboda">
<!-- banan左侧 -->
            <div class="maogou">
                <div id="liebiaozuo" class="mao">
                    <div class="baogou">
                        <div id="liebiaozi" class="gouzi">狗狗</div>
                        <span id="shuangjiantou"></span>
                    </div>
                </div>

                <div id="liebiaoyou" class="wangwang">
                    <div class="baogougou">
                        <div id="fenlei" class="gougou">商品分类</div>
                        <span id="danjiantou"></span>
                    </div>
                </div>
                <div id="wangmiao" class="mgqh">
                    <div id="yixuan" class="mgqh1">
                        <div class="gt1"><img src="img/gggg-1.png" alt=""></div>
                        <div class="gt2"><span>4338</span>种精选宝贝</div>
                        <div id="hhhh" class="gt3">正在狗狗站溜达...</div>
                    </div>
                    <div id="meixuan" class="mgqh1">
                        <div class="gt1"><img src="img/gggg2.png" alt=""></div>
                        <div class="gt2"><span>4338</span>种精选宝贝</div>
                        <div id="gz" class="gt3">切换到狗狗站</div>
                    </div>
                    <div id="weixuan" class="mgqh2">
                        <div class="gt1"><img src="img/mmmm1.png" alt=""></div>
                        <div class="gt2"><span>2905</span>种精选宝贝</div>
                        <div class="gt3">切换到猫猫站</div>
                    </div>
                    <div id="xuanle" class="mgqh2">
                        <div class="gt1"><img src="img/mmmm2.png" alt=""></div>
                        <div class="gt2"><span>2905</span>种精选宝贝</div>
                        <div id="mt" class="gt3">正在猫猫站溜达...</div>
                    </div>
                </div>
                <div id="fen" class="mgqh">
                    <div class="lie1">
                        <div class="lie1-1">主粮</div>
                        <div class="lie1-2">零食</div>
                        <div class="lie1-3"></div>
                    </div>
                    <div class="lie1">
                        <div class="lie1-1">玩具</div>
                        <div class="lie1-2">清洁</div>
                        <div class="lie1-3"></div>
                    </div>
                    <div class="lie1">
                        <div class="lie1-1">保健</div>
                        <div class="lie1-2">护理</div>
                        <div class="lie1-3"></div>
                    </div>
                    <div class="lie1">
                        <div class="lie1-1">生活</div>
                        <div class="lie1-2">牵引</div>
                        <div class="lie1-3"></div>
                    </div>
                    <div class="lie2">
                        <div class="lie1-1">洗澡</div>
                        <div class="lie1-2">服饰</div>
                        <div class="lie1-3"></div>
                    </div>
                    <div class="biglie">
                        无用功，浪费时间
                    </div>
                </div>


<!-- banan区域右侧 -->
            </div>
            <div class="lunboyou">
                <div class="you1"><img src="img/you1.jpg" alt=""></div>
                <div class="you2"><img src="img/you2.jpg" alt=""></div>
                <div class="you3"><img src="img/you3.jpg" alt=""></div>
            </div>

            <!-- 轮播图 -->
            <div class="lunbotu">
                <div class="swiper-container">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide"><img src="img/lun1.jpg" alt=""></div>
                        <div class="swiper-slide"><img src="img/lun2.jpg" alt=""></div>
                        <div class="swiper-slide"><img src="img/lun3.jpg" alt=""></div>
                        <div class="swiper-slide"><img src="img/lun4.jpg" alt=""></div>
                        <div class="swiper-slide"><img src="img/lun5.jpg" alt=""></div>
                        <div class="swiper-slide"><img src="img/lun6.jpg" alt=""></div>
                    </div>
                    <div class="swiper-pagination"></div>
                </div>
            </div>
        </div>
    </div>

    <!-- 商品列表 -->
    <div class="shangpin">
        <div class="biaoti">
            <div class="biao1"></div>
            <div class="biao2">狗狗主粮</div>
        </div>
        <div class="shang2">
            <div class="shang2-1">
                <!-- <div class="shang2-2">
                    <div class="shang2-3"><img src="img/004040_276378.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/0044010_810579.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140054_145161.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140411_252447.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140634_763897.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/141443_145496.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/141650_603973.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/212147_639454.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div> -->
            </div>
            <div class="shang1">
                <img src="img/1ce336674ef947814ec8c5bb1830c799.jpg" alt="">
                <div class="shang1-1">
                    <div class="shang1-2">
                        <div class="shang1-3">——————————————————</div>
                        <div class="shang1-4">
                            <div class="shang1-4-1"></div>
                            <div class="shang1-4-2">最热HOT</div>
                        </div>
                        <div class="shang1-3">——————————————————</div>
                    </div>

                </div>
                <div class="shang4">
                    <div class="shang4-1">海瑞特鲜肉粮</div>
                    <div class="shang4-2">比瑞吉天然粮</div>
                    <div class="shang4-2">海洋之星</div>
                    <div class="shang4-1">皇家</div>
                    <div class="shang4-2">冠能</div>
                    <div class="shang4-2">爱慕思</div>
                    <div class="shang4-1">顽皮</div>
                    <div class="shang4-2">卫塔卡夫</div>
                    <div class="shang4-2">开饭乐</div>
                </div>
            </div>
            <div class="shang3">
                <div class="shang3-1"><img src="img/shangpin1 (1).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (2).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (3).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (4).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (5).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (6).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (7).jpg" alt=""></div>
                <div class="shang3-2"><img src="img/shangpin.png" alt=""></div>
            </div>
        </div>

        <div class="biaoyou">
            <div class="a2">进口狗粮</div>
            <div class="a1">热门</div>

            <div class="a3">国产狗粮</div>
        </div>
    </div>

    <div class="shangpin">
        <div class="biaoti">
            <div class="biao1"></div>
            <div class="biao2">狗狗主粮</div>
        </div>
        <div class="shang2">
            <div class="shang2-1">
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/004040_276378.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/0044010_810579.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140054_145161.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140411_252447.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140634_763897.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/141443_145496.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/141650_603973.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/212147_639454.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
            </div>
            <div class="shang1">
                <img src="img/fc146c515230dd762dd67ddc1d207c89 (2).jpg" alt="">
                <div class="shang1-1">
                    <div class="shang1-2">
                        <div class="shang1-3">——————————————————</div>
                        <div class="shang1-4">
                            <div class="shang1-4-1"></div>
                            <div class="shang1-4-2">最热HOT</div>
                        </div>
                        <div class="shang1-3">——————————————————</div>
                    </div>

                </div>
                <div class="shang4">
                    <div class="shang4-1">海瑞特鲜肉粮</div>
                    <div class="shang4-2">比瑞吉天然粮</div>
                    <div class="shang4-2">海洋之星</div>
                    <div class="shang4-1">皇家</div>
                    <div class="shang4-2">冠能</div>
                    <div class="shang4-2">爱慕思</div>
                    <div class="shang4-1">顽皮</div>
                    <div class="shang4-2">卫塔卡夫</div>
                    <div class="shang4-2">开饭乐</div>
                </div>
            </div>
            <div class="shang3">
                <div class="shang3-1"><img src="img/shangpin1 (1).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (2).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (3).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (4).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (5).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (6).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (7).jpg" alt=""></div>
                <div class="shang3-2"><img src="img/shangpin.png" alt=""></div>
            </div>
        </div>

        <div class="biaoyou">
            <div class="a2">进口狗粮</div>
            <div class="a1">热门</div>

            <div class="a3">国产狗粮</div>
        </div>
    </div>

    <div class="shangpin">
        <div class="biaoti">
            <div class="biao1"></div>
            <div class="biao2">狗狗主粮</div>
        </div>
        <div class="shang2">
            <div class="shang2-1">
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/004040_276378.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/0044010_810579.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140054_145161.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140411_252447.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140634_763897.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/141443_145496.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/141650_603973.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/212147_639454.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
            </div>
            <div class="shang1">
                <img src="img/cfa.jpg" alt="">
                <div class="shang1-1">
                    <div class="shang1-2">
                        <div class="shang1-3">——————————————————</div>
                        <div class="shang1-4">
                            <div class="shang1-4-1"></div>
                            <div class="shang1-4-2">最热HOT</div>
                        </div>
                        <div class="shang1-3">——————————————————</div>
                    </div>

                </div>
                <div class="shang4">
                    <div class="shang4-1">海瑞特鲜肉粮</div>
                    <div class="shang4-2">比瑞吉天然粮</div>
                    <div class="shang4-2">海洋之星</div>
                    <div class="shang4-1">皇家</div>
                    <div class="shang4-2">冠能</div>
                    <div class="shang4-2">爱慕思</div>
                    <div class="shang4-1">顽皮</div>
                    <div class="shang4-2">卫塔卡夫</div>
                    <div class="shang4-2">开饭乐</div>
                </div>
            </div>
            <div class="shang3">
                <div class="shang3-1"><img src="img/shangpin1 (1).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (2).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (3).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (4).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (5).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (6).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (7).jpg" alt=""></div>
                <div class="shang3-2"><img src="img/shangpin.png" alt=""></div>
            </div>
        </div>

        <div class="biaoyou">
            <div class="a2">进口狗粮</div>
            <div class="a1">热门</div>
            <div class="a3">国产狗粮</div>
        </div>
    </div>

    <div class="shangpin">
        <div class="biaoti">
            <div class="biao1"></div>
            <div class="biao2">狗狗主粮</div>
        </div>
        <div class="shang2">
            <div class="shang2-1">
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/004040_276378.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/0044010_810579.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140054_145161.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140411_252447.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/140634_763897.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/141443_145496.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/141650_603973.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
                <div class="shang2-2">
                    <div class="shang2-3"><img src="img/212147_639454.jpg@!200w-c" alt=""></div>
                    <div class="shang2-4">
                        <p class="s1">皇家royal canin MIS30小型犬奶糕/怀孕母犬/哺乳母犬1kg</p>
                        <p class="s2">￥190.00</p>
                    </div>
                </div>
            </div>
            <div class="shang1">
                <img src="img/111111.jpg" alt="">
                <div class="shang1-1">
                    <div class="shang1-2">
                        <div class="shang1-3">——————————————————</div>
                        <div class="shang1-4">
                            <div class="shang1-4-1"></div>
                            <div class="shang1-4-2">最热HOT</div>
                        </div>
                        <div class="shang1-3">——————————————————</div>
                    </div>
                </div>
                <div class="shang4">
                    <div class="shang4-1">海瑞特鲜肉粮</div>
                    <div class="shang4-2">比瑞吉天然粮</div>
                    <div class="shang4-2">海洋之星</div>
                    <div class="shang4-1">皇家</div>
                    <div class="shang4-2">冠能</div>
                    <div class="shang4-2">爱慕思</div>
                    <div class="shang4-1">顽皮</div>
                    <div class="shang4-2">卫塔卡夫</div>
                    <div class="shang4-2">开饭乐</div>
                </div>
            </div>
            <div class="shang3">
                <div class="shang3-1"><img src="img/shangpin1 (1).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (2).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (3).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (4).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (5).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (6).jpg" alt=""></div>
                <div class="shang3-1"><img src="img/shangpin1 (7).jpg" alt=""></div>
                <div class="shang3-2"><img src="img/shangpin.png" alt=""></div>
            </div>
        </div>
        <div class="biaoyou">
            <div class="a2">进口狗粮</div>
            <div class="a1">热门</div>
            <div class="a3">国产狗粮</div>
        </div>
    </div>

<!-- 底部 -->
    <div class="dibu">
        <div class="dibu1">
            <div class="dibu2">
                <div class="dibu2-1"></div>
                <div class="dibu2-2">正品保障</div>
            </div>
            <div class="dibu3">
                <div id="dd" class="dibu2-1"></div>
                <div class="dibu2-2">品类丰富</div>
            </div>
            <div class="dibu3">
                <div id="ddd" class="dibu2-1"></div>
                <div class="dibu2-2">优质服务</div>
            </div>
            <div class="dibu3">
                <div id="dddd" class="dibu2-1"></div>
                <div class="dibu2-2">科学养宠</div>
            </div>
            <div class="dibu3">
                <div id="ddddd" class="dibu2-1"></div>
                <div class="dibu2-2">E宠公益</div>
            </div>
            <div id="shier" class="dibu3">
                <div id="dddddd" class="dibu2-1"></div>
                <div class="dibu2-2">爱宠12年</div>
            </div>
        </div>
        <div class="dixian"></div>
        <div class="dibu4">
            <div class="dog"><img src="img/dog_phone.gif" alt=""></div>
            <div class="dibu4-1">
                <div class="dibu4-1-1">售后电话：</div>
                <div class="dibu4-1-2">4008889200<div class="dibu4-1-2-1">「免长途费」</div>
                </div>
                <div class="dibu4-1-3">023-68851700</div>
                <div class="dibu4-1-4">服务时间：09:00--18:30（周一到周日）</div>
            </div>
            <div class="dibu4-2">
                <div class="dibu4-1-1">购物指南</div>
                <div class="dibu4-2-1">新人优惠</div>
                <div class="dibu4-2-2">购物问题</div>
                <div class="dibu4-2-2">支付问题</div>
            </div>
            <div class="dibu4-3">
                <div class="dibu4-1-1">售后服务</div>
                <div class="dibu4-2-1">退换货政策</div>
                <div class="dibu4-2-2">退款说明</div>
                <div class="dibu4-2-2">售后问题</div>
            </div>
            <div class="erweima1">
                <div class="zi">扫描关注E宠</br>商城微信</div>
                <div class="ma"><img src="img/code.png" alt=""></div>
            </div>
            <div class="erweima2">
                <div class="zi">扫描下载APP</br>下单更优惠</div>
                <div class="ma"><img src="img/app-code.jpg" alt=""></div>
            </div>
        </div>
        <div class="dibu5">
            <div class="dibu5-1">
                <div class="dibu5-1-1">关于我们</div>
                <div class="dibu5-1-2">
                    <div class="weibo"></div>
                    <div class="weibo1">E宠商城</div>
                </div>
                <div class="dibu5-1-2">
                    <div class="weixin"></div>
                    <div class="weibo1">E宠商城</div>
                </div>
                <div class="dibu5-1-2">
                    <div class="baidu"></div>
                    <div class="weibo1">E宠商城百家号</div>
                </div>
                <div class="dibu5-1-2">
                    <div class="toutiao"></div>
                    <div class="weibo1">E宠说</div>
                </div>
                <div class="dibu5-1-2">
                    <div class="weibo1">E宠公益</div>
                </div>
                <div class="dibu5-1-2">
                    <div class="weibo1">联系我们</div>
                </div>
                <div class="dibu5-1-2">
                    <div class="weibo1">公司地址</div>
                </div>
                <div class="dibu5-1-2">
                    <div class="weibo1">应急响应</div>
                </div>
                <div class="dibu5-1-2">
                    <div class="weibo1">仓储中心</div>
                </div>
                <div class="dibu5-1-2">
                    <div class="weibo1">用户协议</div>
                </div>
                <div class="dibu5-1-2">
                    <div class="weibo1">易宠科技</div>
                </div>
            </div>
        </div>
        <div class="dibu6">
            <div class="dibu6-1"><img src="img/12315.png" alt=""></div>
            <div class="dibu6-2"><img src="img/baiq.png" alt=""></div>
            <div class="dibu6-2"><img src="img/wsls.png" alt=""></div>
            <div class="dibu6-2"><img src="img/sfqy.png" alt=""></div>
            <div class="dibu6-2"><img src="img/yxqy.png" alt=""></div>
            <div class="dibu6-2"><img src="img/bhdw.png" alt=""></div>
            <div class="dibu6-2"><img src="img/sjws.png" alt=""></div>
        </div>
        <div class="dibu7">
            <div class="dibu7-1">渝ICP备10002905号-1</div>
            <div class="dibu7-2">渝ICP备10002905号-3</div>
            <div class="dibu7-2">营业执照</div>
            <div class="dibu7-2">兽药经营许可证</div>
            <div class="dibu7-3">增值电信业务经营许可证：渝B2-20140042 Copyright © 2007-2021 epet.com</div>
            <div class="dibu7-3">重庆易宠科技有限公司</div>
        </div>
    </div>

<!-- 登陆注册 -->
    <div id="dl1" class="dengluyemian"></div>
    <div id="dl2" class="dengbai">
        <div class="fangshi">
            <div id="yan1" class="yanzhengma">手机验证码登录</div>
            <div id="yan2" class="zhanghu">账户登录</div>
        </div>
        <div id="tx" class="tianxie">
            <div class="tian1">
                <div class="tian1-1"><img src="img/1-1.png" alt=""></div>
                <input type="text" placeholder="请输入手机号" class="tian1-2">
            </div>
            <div id="gsyz5" class="gs"></div>
            <div class="tian2">
                <input type="text" placeholder="请输入短信验证码" class="tian2-1">
                <div class="tian2-2">获取验证码</div>
            </div>
            <div id="gsyz6" class="gs"></div>
            <button type="button" class="tian3">登录</button>
        </div>
        <div id="tx2" class="tianxie">
            <div class="tian1">
                <div class="tian1-1"><img src="img/1-1.png" alt=""></div>
                <input type="text" id="username2" placeholder="请输入用户名" class="tian1-2">

            </div>
            <div id="gsyz3" class="gs"></div>
            <div class="tian2">
                <div class="tian1-1"><img src="img/mi1.png" alt=""></div>
                <input id="d1" type="password" placeholder="请输入密码" class="tian1-2">
                <div id="d2">忘记密码</div>
            </div>
            <div id="gsyz4" class="gs"></div>
            <button id="aaa" type="button" class="tian3">登录</button>
        </div>
        <div class="qwz">
            <div class="zhifubaodenglu"><img src="img/zhifubaodenglu.png" alt=""></div>
            <div class="weixindenglu"><img src="img/weixindenglu.png" alt=""></div>
            <div class="qqdenglu"><img src="img/qqdenglu.png" alt=""></div>
            <div class="ydwt">遇到问题？</div>
            <div id="phion" class="sjks">手机快速注册</div>
        </div>
    </div>
    <div id="zhuce" class="dengbai">
        <div class="fangshi">
            <div id="yan1" class="yanzhengma">新用户注册</div>
            <div id="zan2" class="zhanghu">直接登录</div>
        </div>
        <div id="tx" class="tianxie">
            <div class="tian1">
                <div class="tian1-1"><img src="img/1-1.png" alt=""></div>
                <input id="zhuce1" type="text" placeholder="请输入用户名" class="tian1-2">
            </div>
            <div id="gsyz1" class="gs"></div>
            <div class="tian2">
                <input id="zhuce2" type="text" placeholder="请输入密码" class="tian2-1">
                <!-- <div class="tian2-2">获取验证码</div> -->
            </div>
            <div id="gsyz2" class="gs"></div>
            <button id="zhuce3" type="button" class="tian3">注册</button>
        </div>

        <div class="qwz">
            <div class="tiaokuan">
                <div class="gouxuan"></div>
                <div class="ty">我同意E宠</div>
                <div class="tk">《用户使用协议》</div>
            </div>
            <div class="ydwt">遇到问题？</div>
        </div>
    </div>
    <script src="jquery-1.11.0.js"></script>
    <script>
        // 轮播图
        var mySwiper = new Swiper('.swiper-container', {
            loop: true,
            effect: 'fade',
            autoplay: true,
            pagination: {
                el: '.swiper-pagination',
            },
        })

        // 登录
        var gx = document.getElementById("zhuce");
        var zcc = document.getElementById("zzcc");
        let denglu = document.getElementById('dl');
        var hei = document.getElementById('dl1');
        var bai = document.getElementById('dl2');
        denglu.onclick = function () {
            hei.style.display = "block";
            bai.style.display = "block";
        }
        hei.onclick = function () {
            hei.style.display = "none";
            bai.style.display = "none";
            gx.style.display = "none";
        }
        var qiehuan1 = document.getElementById('tx');
        var qiehuan2 = document.getElementById('tx2');
        var yan = document.getElementById('yan1');
        var wan = document.getElementById('yan2');
        yan.onclick = function () {
            yan.style.color = "#" + "f03e3e";
            qiehuan1.style.display = "block";
            wan.style.color = "#" + "333333";
            qiehuan2.style.display = "none";
        }
        wan.onclick = function () {
            yan.style.color = "#" + "333333";
            qiehuan1.style.display = "none";
            wan.style.color = "#" + "f03e3e";
            qiehuan2.style.display = "block";
        }

        // 列表
        let lie1=document.querySelectorAll(".lie1")
        let lie2=document.querySelector(".mgqh")
        let biglie=document.querySelector(".biglie")
        lie1.onmouseover=function(){
            biglie.style.display="block"
        }
        lie2.onmouseover=function(){
            biglie.style.display="block"
        }
        lie1.onmouseout=function(){
            biglie.style.display="none"
        }
        lie2.onmouseout=function(){
            biglie.style.display="none"
        }

        // 狗隐藏
        var gg2 = document.getElementById('meixuan');
        // 狗显是
        var gg1 = document.getElementById('yixuan');
        var mm1 = document.getElementById('xuanle');
        var mm2 = document.getElementById('weixuan');
        // 选狗 狗2隐藏  猫1隐藏 猫2显示
        gg2.onclick = function () {
            gg2.style.display = "none";
            gg1.style.display = "block";
            mm1.style.display = "none";
            mm2.style.display = "block";
        }
        // 不选狗  狗1隐藏
        mm2.onclick = function () {
            gg2.style.display = "block";
            gg1.style.display = "none";
            mm2.style.display = "none";
            mm1.style.display = "block";
        }
        var kszc = document.getElementById("phion");
        var tddl = document.getElementById("zan2");
        var cjm = document.getElementById("liebiaozuo");
        var lbz = document.getElementById("liebiaozi");
        var sjt = document.getElementById("shuangjiantou");
        var zxr = document.getElementById("liebiaoyou");
        var spfl = document.getElementById("fenlei");
        var djt = document.getElementById("danjiantou");
        var mmgg = document.getElementById("wangmiao");
        var lby = document.getElementById("fen");
        cjm.onmouseover = function () {
            lbz.style.color = "#" + "ffffff";
            cjm.style.backgroundColor = "#" + "1d1d1d";
            sjt.style.backgroundImage = "url" + "(" + "../" + "img/" + "gou1.png" + ")";
            zxr.style.backgroundColor = "#" + "ffffff";
            spfl.style.color = "#" + "666666";
            djt.style.backgroundImage = "url" + "(" + "../" + "img/" + "mao.png" + ")";
            mmgg.style.display = "block";
            lby.style.display = "none";
        }
        zxr.onmouseover = function () {
            spfl.style.color = "#" + "ffffff";
            zxr.style.backgroundColor = "#" + "1d1d1d";
            djt.style.backgroundImage = "url" + "(" + "../" + "img/" + "mao2.png" + ")";
            cjm.style.backgroundColor = "#" + "ffffff";
            lbz.style.color = "#" + "666666";
            sjt.style.backgroundImage = "url" + "(" + "../" + "img/" + "gou2.png" + ")";
            mmgg.style.display = "none";
            lby.style.display = "block";
        }

        // 注册
        tddl.onclick = function () {
            bai.style.display = "block";
            gx.style.display = "none";
        }
        kszc.onclick = function () {
            bai.style.display = "none";
            gx.style.display = "block";
        }
        zcc.onclick = function () {
            gx.style.display = "block";
            hei.style.display = "block";
        }

        let username = document.getElementById("zhuce1");
        let password = document.getElementById("zhuce2");
        let btn = document.getElementById("zhuce3");
        let gsyz1 = document.getElementById("gsyz1");
        let gsyz2 = document.getElementById("gsyz2");
        let isUsername = false;
        username.onchange = function () {
            let Uzhengze = /[a-z][a-zA-Z0-9]{5,}$/
            if (Uzhengze.test(this.value)) {
                let jianchaAPI = "http://jx.xuzhixiang.top/ap/api/checkname.php"
                axios.get(jianchaAPI, {
                    params: {
                        username: this.value,
                    },
                }).then((s) => {
                    console.log(s);
                    gsyz1.innerHTML = "";
                    isUsername = true
                })
            } else {
                gsyz1.innerHTML = "格式不正确"
                isUsername = false
            }
            if (username.value == "") {
                gsyz1.innerHTML = ""
                isUsername = false
            }
        }
        let isPassword = false
        password.onchange = function () {
            let reg = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/ //密码至少包含 数字和英文，长度6-20
            if (reg.test(this.value)) {
                gsyz2.innerHTML = ""
                isPassword = true
            } else {
                gsyz2.innerHTML = "密码格式错误"
                isPassword = false
            }
            if (password.value == "") {
                gsyz2.innerHTML = ""
                isPassword = false
            }
        }
        // 检测注册接口
        btn.onclick = function () {

            if (isPassword && isUsername) {
                let username4 = username.value
                let password4 = password.value
                let params = {
                    username: username4,
                    password: password4
                }
                let zhuceAPI = "http://jx.xuzhixiang.top/ap/api/reg.php"
                axios.get(zhuceAPI, {
                    params
                }).then((res) => {
                    console.log(res.data.code);
                    if (res.data.code == 1) {
                        alert(res.data.msg);
                        bai.style.display = "block";
                        gx.style.display = "none";
                    } else {
                        alert("该用户名已被注册");
                    }
                })
            }
        }
        // 登录接口
        let password2 = document.getElementById("d1");
        let username2 = document.getElementById("username2");
        let btn2 = document.getElementById("aaa");
        btn2.onclick = () => {
            $.ajax({
                url: "http://jx.xuzhixiang.top/ap/api/login.php",
                type: "get",
                data: {
                    username: username2.value,
                    password: password2.value,
                },
                success: function (data) {
                    if (data.data.code == 1) {
                        alert("请输入有效的用户名和密码")
                    } else {
                        localStorage.setItem("uid", data.data.id)
                        localStorage.setItem("username", data.data.username)
                        localStorage.setItem("token", data.data.token)
                        alert("登录成功")
                        bai.style.display = "none";
                        hei.style.display = "none";
                    }
                },
            });
        }
        let username3 = localStorage.getItem("username");
        if (username3) {
            denglu.innerText = username3;
        }

        // 请求商品列表
        let api = "http://jx.xuzhixiang.top/ap/api/productlist.php"
        let pagenum = 0;
        let pagesize = 8;
        let uid = localStorage.getItem("uid");
        axios.get(api, {
                params: {
                    pagenum,
                    pagesize,
                    uid,
                },

            })
            .then((v) => {
                let data = [...v.data.data];
                let sing = data.splice(0, 8);

                let diyipai = "";
                sing.forEach((v) => {
                    diyipai += `
                    <div class="shang2-2" onclick='productDetails(${v.pid}'>
                        <div class="shang2-3" ><img src="${v.pimg}" alt="" ></div>
                        <div class="shang2-4">
                            <p class="s1" onclick='productDetails(${v.pid})'>${v.pname}</p>
                            <p class="s2" onclick='productDetails(${v.pid})'>￥${v.pprice}</p>
                        </div>
                    </div>
                    `;
                });
                document.querySelector(".shang2-1").innerHTML = diyipai;
            });

        // 跳转详情页  
        function productDetails(pid) {
            location.href = `xiangqing.html?pid=${pid}`
        }
    </script>
</body>

</html>